execute

fun <T> execute(block: () -> Promise<T>): Promise<T>

Executes block, waiting for a permit. Rejects if the bulkhead is full (or times out waiting).